* {
	margin: 0px;
	padding : 0px;
	border: 0px;
}

p, .form, article {
	padding: 0.5em;
}

header, nav, section, footer, aside, article {
	display:block;
} 

/* HTML & BODY */
html {
	background-color: #DDD;
}

body {
	background-color: #FFF;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	border : 0px;
	border-radius: 0em 0em 1em 1em ;
	-moz-border-radius: 0em 0em 1em 1em ;
	box-shadow: 0px 0px 1em #000000;
	-moz-box-shadow: 0px 0px 1em #000000;
}

/* HEADER */
header {
	text-align: center;
}

h1 {
	padding: 0.6em;
}

/* NAVIGATION */
nav.menu {
	text-align : center;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	background:gray;
	margin-bottom: 0.5em;
}

nav.menu li {
	display: inline;
}

nav.menu ul li  a {
	display: inline-block;
	color:black;
	padding: 0.5em;
	background-color: #ddd;
}

nav.menu ul li  a:hover{
	background-color: #EEE;
}

/*LISTE ARTICLE*/
section.postsList {
	width: 80%;
	float: left;
}

/* MENU UTILISATEURS */
section > aside{
	border: 0.1em dotted black;
	width: 15%;
	background-color: #ddd;
	float: right;
	padding: 1em;
	margin: 1%;
}

section aside nav {
	text-align : left;
}
section aside nav ul {
	margin-left:3em;
}

/* ARTICLE */
section.postsList > article {
	margin-bottom: 2.5em;
	clear:both;
}

section.postsList > article > header {
	float: left;
	width: 10%;
	padding: 0.3em;
}

section.postsList > article > section {
	float: left;
	width: 85%;
	padding: 0.3em;
	border: 1px solid #DDD;
	border-radius: 2em;
	-moz-border-radius: 0.5em;
}

section.postsList > article > aside {
	display: inline;
	float:right;
	color: gray;
	font-size: 80%;	
}
section.postsList > article > aside > a {
	color: gray;
}

section.postsList > article > footer {
	display: inline;
	float: left;
	color:gray;
	font-size: 80%;
	padding-left: 12%;
}

section.postsList > article > footer:before {content:"(";}
section.postsList > article > footer:after {content:")";}

/*FORMULAIRE*/
.form{
	text-align:center;
	margin: auto;
}

label, input, textarea {
	text-align:center;
	display:block;
	width: 300px;
	margin: auto;
}

input, textarea {
	border: 1px solid gray;
	background:#DDD;
}

input[type="submit"]{
	display:block;
	width: 100px;
	background:gray;
	color:white;
	border: 1px solid black;
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
}

input[type="submit"]:hover {
	background-color:#EEE;
	color:#000;
}


/* FOOTER */
body > footer {
	padding: 1em;
	text-align : center;
	border-top: 1px solid #DDD;
	background-color: gray;
	color: white;
	clear:both;
	border-radius: 0em 0em 1em 1em ;
	-moz-border-radius: 0em 0em 1em 1em ;
	margin-top: 0.5em;
}


body > footer > a {
	float:right;
	color:white;
}
